package loveappservice.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class Img_group {
    private int img_group_id;
    private int images_id;
    @JsonFormat(pattern ="yyyy-MM-dd")
    private String img_group_time;
    private String img_group_desc;
    private int user_id;
    private Users users;
    private List<Img> img;

    public int getImg_group_id() {
        return img_group_id;
    }

    public void setImg_group_id(int img_group_id) {
        this.img_group_id = img_group_id;
    }

    public int getImages_id() {
        return images_id;
    }

    public void setImages_id(int images_id) {
        this.images_id = images_id;
    }

    public String getImg_group_time() {
        return img_group_time;
    }

    public void setImg_group_time(String img_group_time) {
        this.img_group_time = img_group_time;
    }

    public String getImg_group_desc() {
        return img_group_desc;
    }

    public void setImg_group_desc(String img_group_desc) {
        this.img_group_desc = img_group_desc;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public List<Img> getImg() {
        return img;
    }

    public void setImg(List<Img> img) {
        this.img = img;
    }


    @Override
    public String toString() {
        return "Img_group{" +
                "img_group_id=" + img_group_id +
                ", images_id=" + images_id +
                ", img_group_time='" + img_group_time + '\'' +
                ", img_group_desc='" + img_group_desc + '\'' +
                ", user_id=" + user_id +
                ", users=" + users +
                ", img=" + img +
                '}';
    }
}
